package com.ccrfid.rmc6.service.report;

import com.ccrfid.rmc6.entity.business.entrance.PersonnelAttendanceRecordEntity;
import com.ccrfid.rmc6.pojo.dto.report.*;
import org.springframework.core.io.ByteArrayResource;

import java.io.IOException;
import java.sql.Timestamp;
import java.util.List;

public interface ReportService {

    //区域人员统计报表
    List<LocationPersonDto> exportLocationReport();

    //区域告警统计报表
    LocationAlarmDto exportLocationAlarmReport(Long locationId, Timestamp startTime, Timestamp endTime);

    //区域设备统计报表
    List<LocationDeviceDto> exportLocationDevice();

    //人员动态分析报表
    PersonnelMoveAnalyzeDto exportPersonnelMoveAnalyze(Long personnelId, Timestamp startTime, Timestamp endTime);

    //获取所有区域类型下的所有区域
    List<LocationInfoDto> getAllLocation();

    //考勤统计报表
    List<PersonnelAttendanceRecordEntity> exportPersonnelAttendance(Long personnelId, Timestamp startTime, Timestamp endTime);
}
